package com.example.goods_manage.service;

import com.example.goods_manage.dto.request.GoodsRequest;
import com.example.goods_manage.utils.AjaxResult;

import java.util.List;
import java.util.Map;

/**
 * <P> @Author: SongKeCheng
 * <P> Description:
 * <P> Type: Interface
 * <P> Date: 2024/7/18:15:19
 */

public interface GoodsService {
    AjaxResult findGoods(GoodsRequest goodsRequest);

    AjaxResult addGoods(GoodsRequest goodsRequest);

    AjaxResult updateGoods(GoodsRequest goodsRequest);

    AjaxResult deleteGoods(GoodsRequest goodsRequest);

    List<Map> retrievalGoodsName(String goodsName);
}
